<div class="widget widget-archives">
  <h3 class="widget-title">归档</h3>
  <ul>
    {% for date in date_list %}
      <li>
          <a href="{% url 'article:archive' date.year date.month %}">{{ date.year }} 年 {{ date.month }} 月 <span class="post-count">({{ date.num_articles }})</span>  </a>
      </li>
    {% empty %}
      暂无归档！
    {% endfor %}
  </ul>
</div>